package com.qf.commons.redis.config;

import com.qf.commons.redis.lock.LockAspect;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * author Ken
 * create_time 2022/9/20
 */
@Configuration
@EnableCaching
public class RedisConfiguration {

    @Bean
    public LockAspect getLockAspect(){
        return new LockAspect();
    }
}
